/* 变换历史组件样式 */

.history {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  border: 1px solid #ddd;

  h3 {
    margin-top: 0;
    color: #2c3e50;
  }
}

.empty {
  color: #7f8c8d;
  font-style: italic;
  text-align: center;
  margin: 20px 0;
}

.historyList {
  max-height: 200px;
  overflow-y: auto;
}

.historyItem {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  margin: 5px 0;
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  font-size: 12px;

  .index {
    background: #3498db;
    color: white;
    padding: 2px 6px;
    border-radius: 10px;
    font-weight: bold;
    min-width: 20px;
    text-align: center;
  }

  .type {
    font-weight: bold;
    color: #2c3e50;
    min-width: 40px;
  }

  .description {
    flex: 1;
    color: #7f8c8d;
  }

  .timestamp {
    color: #95a5a6;
    font-size: 11px;
    font-family: "Courier New", monospace;
  }
}